﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FOModels.SlideWin;
using System.Data;
namespace DataAccess.SlideWin
{
    public class SlideWinDAL
    {
        private SQLDataAccess db;
        public SlideWinDAL()
        {
            db = new SQLDataAccess();

        }
        public DataTable getslidewinbyposid(int positionid, int langid)
        {
            return db.exeSelect("Select * from SlideWin s join SlideWinLang sl on s.SlideWinID = sl.SlideWinID where SlideWinPositionID = " + positionid + " and LangID =" + langid + " ");
        }


    }
}
